package com.ltcode.auth.interfaces.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 登录请求DTO
 * 
 * @author ltcode
 * @since 2024-01-01
 */
@Data
public class LoginRequestDTO implements Serializable {
    
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
    /**
     * 验证码
     */
    private String captchaCode;
    /**
     * 验证码UUID
     */
    private String captchaUuid;
    /**
     * 是否记住我
     */
    private Boolean rememberMe = false;
}
